#ifndef QTRACK_H
#define QTRACK_H

#include <QWidget>
#include "ui_qtrack.h"
#include "qcomp.h"
#include "AudioManager.h"

using namespace AudioManager;

class QTrack : public QWidget
{
	Q_OBJECT
	public slots:
		void setSolo();
		void setMute();
		void setRec();
		void setListen();
		void showFx();
		void setCompUI(QComp* comp);
	public:
		QTrack(QWidget *parent = 0);
		QTrack(QWidget *parent = 0,Manager *manager=NULL, int TrackID=0, QComp *comp=NULL);
		~QTrack();
		Ui::QTrack ui;
	private:
		bool isSolo;
		bool isRec;
		bool isMute;
		bool isListen;
		Manager *manager;
		int trackID;
		QComp* compUI;
};

#endif // QTRACK_H
